import { axios } from '@/utils/request'

export function getSysSmsList(params) {
  return axios({
    url: '/sys/sms/pageQuerySmsTemplate',
    method: 'get',
    params
  })
}
export function getSysSmsAdd(parameter) {
  return axios({
    url: '/sys/sms/add',
    method: 'post',
    data:parameter
  })
}
export function getSysSmsEdit(parameter) {
  return axios({
    url: '/sys/sms/update',
    method: 'post',
    data:parameter
  })
}
export function getSysSmsDel(parameter) {
  return axios({
    url: '/sys/sms/delete',
    method: 'post',
    data:parameter
  })
}
export function getSysSmsEnable(parameter) {
  return axios({
    url: '/sys/sms/disOrEnable',
    method: 'post',
    data:parameter
  })
}

